package com.csproj.dispatch.util.entity;

import java.io.Serializable;
import java.time.ZonedDateTime;

/**
 * 在途监控参数
 */
public class DispatchRouteParam implements Serializable {
    private PageParam pageParam;//分页参数

    private String siteid;//站点ID
    private String lockstatus;//关锁状态
    private String lockId;//关锁ID
    private ZonedDateTime startTime;//开始时间
    private ZonedDateTime endTime;//结束时间

    public PageParam getPageParam() {
        return pageParam;
    }

    public void setPageParam(PageParam pageParam) {
        this.pageParam = pageParam;
    }

    public String getSiteid() {
        return siteid;
    }

    public void setSiteid(String siteid) {
        this.siteid = siteid;
    }

    public String getLockstatus() {
        return lockstatus;
    }

    public void setLockstatus(String lockstatus) {
        this.lockstatus = lockstatus;
    }

    public String getLockId() {
        return lockId;
    }

    public void setLockId(String lockId) {
        this.lockId = lockId;
    }

    public ZonedDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(ZonedDateTime startTime) {
        this.startTime = startTime;
    }

    public ZonedDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(ZonedDateTime endTime) {
        this.endTime = endTime;
    }

    public DispatchRouteParam() {
    }

    public DispatchRouteParam(Integer page, Integer limit, String siteid,
                              String lockstatus, String lockId, ZonedDateTime startTime, ZonedDateTime endTime) {
        PageParam pageParam = new PageParam();
        pageParam.setLimit(limit);
        pageParam.setPage(page);
        this.pageParam = pageParam;
        this.siteid = siteid;
        this.lockstatus = lockstatus;
        this.lockId = lockId;
        this.startTime = startTime;
        this.endTime = endTime;
    }
}
